<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Bootstrap 3, from LayoutIt!</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="description" content="">
  <meta name="author" content="">

	<!--link rel="stylesheet/less" href="less/bootstrap.less" type="text/css" /-->
	<!--link rel="stylesheet/less" href="less/responsive.less" type="text/css" /-->
	<!--script src="js/less-1.3.3.min.js"></script-->
	<!--append ‘#!watch’ to the browser URL, then refresh the page. -->
	
	<link href="css/bootstrap.min.css" rel="stylesheet">
	<link href="css/style.css" rel="stylesheet">

  <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
  <!--[if lt IE 9]>
    <script src="js/html5shiv.js"></script>
  <![endif]-->

  <!-- Fav and touch icons -->
  <link rel="apple-touch-icon-precomposed" sizes="144x144" href="img/apple-touch-icon-144-precomposed.png">
  <link rel="apple-touch-icon-precomposed" sizes="114x114" href="img/apple-touch-icon-114-precomposed.png">
  <link rel="apple-touch-icon-precomposed" sizes="72x72" href="img/apple-touch-icon-72-precomposed.png">
  <link rel="apple-touch-icon-precomposed" href="img/apple-touch-icon-57-precomposed.png">
  <link rel="shortcut icon" href="img/favicon.png">
  
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<script type="text/javascript" src="js/scripts.js"></script>
</head>

<body>
<div class="container">
	<div class="row clearfix">
    	<jsp:include page="../nav.jsp"></jsp:include>
		<div class="col-md-12 column">
			<h3>
				用户列表
			</h3>
		</div>
	</div>
    <div class="collapse navbar-collapse" id="">
    <form class="navbar-form navbar-right" role="search">
    <div class="form-group">
		
			<div class="col-xs-4">
				<div class="dropdown">
					 <select class="">
                            <option class="">---请选择年级---</option>
                     </select>
				</div>
			</div>
	</div>
      <div class="form-group">
        
        <input type="text" class="form-control" placeholder="按用户名搜索">
      </div>
      <button type="submit" class="btn btn-default">搜索</button>
    </form>
    </div>
	<div class="row clearfix">
		<div class="col-md-12 column">
			<table class="table table-bordered table-hover">
				<thead>
					<tr>
						<th>
							序号
						</th>
						<th>
							用户名
						</th>
						<th>
							年级
						</th>
						<th>
							操作
						</th>
					</tr>
				</thead>
				<tbody>
				<c:forEach items="${list.pageItems}" var="user">
					<tr>
						<td>
							${user.code}
						</td>
						<td>
							${user.userName}
						</td>
						<td>
							${user.grade}
						</td>
						<td>
							<a href="user.html?code=${user.code}">查看</a>|<a href="lockUser.action?code=${user.code}&enable=false">加锁用户</a>
						</td>
					</tr>
				</c:forEach>
			</table>
			<ul class="pagination">
				<li>
					<a href="#">Prev</a>
				</li>
				<li>
					<a href="#">1</a>
				</li>
				<li>
					<a href="#">2</a>
				</li>
				<li>
					<a href="#">3</a>
				</li>
				<li>
					<a href="#">4</a>
				</li>
				<li>
					<a href="#">5</a>
				</li>
				<li>
					<a href="#">Next</a>
				</li>
			</ul>
		</div>
	</div>
</div>
<jsp:include page="../foot.jsp"></jsp:include>
</body>
</html>
